package com.uzai.console.vo.locallive.elmtoken;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.List;
import java.util.Set;

/**
 * @author liuqi
 * @date 2021年08月20日 11:09
 */
@ApiModel("返回饿了么token信息详情")
public class ElmTokenInfoVo {
    @ApiModelProperty("主键ID")
    private Long id;
    @ApiModelProperty("联盟账号")
    private String userName;
    @ApiModelProperty("账号ID")
    private String userId;
    @ApiModelProperty("授权token")
    private String accessToken;
    @ApiModelProperty("授权日期")
    private Integer authTime;
    @ApiModelProperty("授权到期日期")
    private Integer exptime;
    @ApiModelProperty("判为比价订单：0按照实际结算 1按照查询结算")
    private Integer settleType;
    @ApiModelProperty("默认PID")
    private String defPid;
    @ApiModelProperty("动态PID列表")
    private List<String> pidList;
    @ApiModelProperty("只同步以上PID订单（PID白名单功能）（0否，1是）")
    private Integer pidWlist;
    @ApiModelProperty("共享联盟渠道id列表")
    private Set<String> relationIdSet;

    /**
     * 授权是否到期状态
     */
    @ApiModelProperty("授权是否到期(0-已到期；1-有效; 2-即将过期)")
    private Integer expireStatus;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Integer getAuthTime() {
        return authTime;
    }

    public void setAuthTime(Integer authTime) {
        this.authTime = authTime;
    }

    public Integer getExptime() {
        return exptime;
    }

    public void setExptime(Integer exptime) {
        this.exptime = exptime;
    }

    public Integer getSettleType() {
        return settleType;
    }

    public void setSettleType(Integer settleType) {
        this.settleType = settleType;
    }

    public String getDefPid() {
        return defPid;
    }

    public void setDefPid(String defPid) {
        this.defPid = defPid;
    }

    public List<String> getPidList() {
        return pidList;
    }

    public void setPidList(List<String> pidList) {
        this.pidList = pidList;
    }

    public Integer getPidWlist() {
        return pidWlist;
    }

    public void setPidWlist(Integer pidWlist) {
        this.pidWlist = pidWlist;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getAccessToken() {
        return accessToken;
    }

    public void setAccessToken(String accessToken) {
        this.accessToken = accessToken;
    }

    public Set<String> getRelationIdSet() {
        return relationIdSet;
    }

    public void setRelationIdSet(Set<String> relationIdSet) {
        this.relationIdSet = relationIdSet;
    }

    public Integer getExpireStatus() {
        return expireStatus;
    }

    public void setExpireStatus(Integer expireStatus) {
        this.expireStatus = expireStatus;
    }
}
